import { path } from "../../config/path";
import request from './request';

/** 数据查询 GET /large_screen/map_datasource */
export async function map_datasource(token:any) {
    return request(path + '/large_screen/map_datasource', {
        method: 'GET',
        headers: {
            token,
        },
    });
}
/** 健康监测 GET /large_screen/map_datasource_measure_data */
export async function map_datasource_measure_data( token:any) {
    return request(path + '/large_screen/map_datasource_measure_data', {
        method: 'GET',
        headers: {
            token,
        },
    });
}
/** 一键呼叫列表 GET /large_screen/map_datasource_warring_data */
export async function map_datasource_warring_data( token:any) {
    return request(path + '/large_screen/map_datasource_warring_data', {
        method: 'GET',
        headers: {
            token,
        },
    });
}

// 三色大屏接口

/** 家庭病床列表 GET /large_screen/get_sickbed_list */
export async function get_sickbed_list( token:any,body:any) {
    return request(path + '/large_screen/get_sickbed_list', {
        method: 'GET',
        headers: {
            token,
        },
        params:body
    });
}
/** 家庭病床详情 GET /large_screen/get_sickbed_info */
export async function get_sickbed_info( token:any,body:any) {
    return request(path + '/large_screen/get_sickbed_info', {
        method: 'GET',
        headers: {
            token,
        },
        params:body
    });
}
/** 家庭病床建床记录列表 GET /large_screen/get_patient_sickbed_log */
export async function get_patient_sickbed_log( token:any,body:any) {
    return request(path + '/large_screen/get_patient_sickbed_log', {
        method: 'GET',
        headers: {
            token,
        },
        params:body
    });
}
/** 家庭病床通话记录 GET /large_screen/get_patient_call_log */
export async function get_patient_call_log( token:any,body:any) {
    return request(path + '/large_screen/get_patient_call_log', {
        method: 'GET',
        headers: {
            token,
        },
        params:body
    });
}
/** 患者预警消息列表 GET /large_screen/get_patient_message */
export async function get_patient_message( token:any,body:any) {
    return request(path + '/large_screen/get_patient_message', {
        method: 'GET',
        headers: {
            token,
        },
        params:body
    });
}
/** 患者生理参数 GET /large_screen/get_healthydata */
export async function large_screen_get_healthydata( token:any,body:any) {
    return request(path + '/large_screen/get_healthydata', {
        method: 'GET',
        headers: {
            token,
        },
        params:body
    });
}